<?php
$taxonomyName = 'tour_destination';
$term_slug = get_query_var( 'term' );
$termParent = get_term_by('slug', $term_slug  , $taxonomyName);
$terms = get_terms($taxonomyName, array('parent' => $termParent->term_id, 'orderby' => 'slug', 'hide_empty' => false));
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
?>
<?php if ($paged == 1){ ?>
<!-- immagine -->
<div class="featured-image">
<?php 
	$image = apply_filters( 'taxonomy-images-queried-term-image', '', array('image_size' => 'Fullsize'));
	if ($image == '') {
?>
<?php	
	}else{
		echo $image;
	}
?>
	<a class="featured-image-caption visible-caption" href="#">
		<h6><?php echo $termParent->name; ?></h6>
	</a>
</div>
<br />
<div>
<?php echo $termParent->name; ?>
</div>
<!-- list -->
<div class="block-title"><h1>Localit&agrave; principali</h1></div>
<div>
<?php
echo '<ul>';
foreach ($terms as $term) {
	echo '<li><a href="' . get_term_link( $term->name, $taxonomyName ) . '">' . $term->name . '</a></li>';
}
echo '</ul>';
?>
</div>
<br />
<?php } ?>